#include  <iostream>
using namespace std;
int main()
{
  int A;
  int B;
  cin>>A;
  cin>>B;
  cout<<"A="<<A<<","<<"B="<<B<<","<<"A+B="<<A+B<<endl;
  cout<<"A="<<A<<","<<"B="<<B<<","<<"A-B="<<A-B<<endl;
  cout<<"A="<<A<<","<<"B="<<B<<","<<"A*B="<<A*B<<endl;
  cout<<"A="<<A<<","<<"B="<<B<<","<<"A/B="<<A/B<<endl;
  return 1;
}
